﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ParsecParser
{
    [Serializable]
    public class ActivateDetails
    {
        public DateTime TimeStamp { get; set; }
        public int TotalActivationCount { get; set; }
        public int TotalHitCount { get; set; }
        public int CurrentHitCount { get; set; }
        public int MaxHitCount { get; set; }
        public string LastEnemyHitId { get; set; }
        public bool IsMultiTarget { get; set; }
        public int GetExpectedHitCount()
        {
            return TotalActivationCount > 0 ? (int)Math.Ceiling((double)TotalHitCount / TotalActivationCount) : 0;
        }
    }
}
